package com.qf.service;

import com.qf.pojo.DtsCategory;
import com.qf.vo.CatVo;

import java.util.List;
import java.util.Map;

/**
 * @author Ypl
 * @version V1.0
 * @Project September-mavens
 * @Package com.qf.service
 * @Description:
 * @Date 2022/10/17 21:06
 */
public interface DtsCategoryService {
    List<CatVo> findList();

    DtsCategory findById(Integer categoryId);

    List<Integer> findByGoodsId(Integer CategoryId);

    Map<String, Object> findByL2Page(Integer page, Integer limit, String order, String sort, Integer id, String name);

    List<Map<String, Object>> findByL1List();

    void insert(DtsCategory dtsCategory);

    void update(DtsCategory dtsCategory);

    void delete(DtsCategory dtsCategory);
}
